package org.scmpatrol.persistence;

import java.util.List;

import org.scmpatrol.scm.SCMCommit;
import org.scmpatrol.scm.SCMRepository;

public interface SCM {
	public Long saveCommit(SCMCommit commit);
	public SCMCommit getCommit(Long id);
	public Long saveRepository(SCMRepository repository);
	public SCMRepository getRepository(Long id);
	public List<SCMRepository> getRepositories();
	
	public String getLastScmRevisionId(Long repositoryId);
}
